package com.njzxw.fs.commonutil.web;

import org.slf4j.LoggerFactory;
import org.springframework.boot.context.event.ApplicationFailedEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

@Component
public class ApplicationFailedEventListener implements ApplicationListener<ApplicationFailedEvent> {
    public org.slf4j.Logger logger = LoggerFactory.getLogger(this.getClass());
    @Override
    public void onApplicationEvent(ApplicationFailedEvent event) {
        logger.info("系统启动失败...........",event);
    }
}